package com.example.malluser.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 注释
 *
 * @author yang
 * @date 2021-08-22 08:16:59
 */
@Data
@TableName("mall_user")
@EqualsAndHashCode(callSuper = true)
public class MallUserEntity extends Model<MallUserEntity> {
private static final long serialVersionUID = 1L;

/**
 * 主键
 */
@ApiModelProperty( value = "主键")
@TableId
private Integer uid;
/**
 * 用户名
 */
@ApiModelProperty( value = "用户名")
private String username;
/**
 * 密码
 */
@ApiModelProperty( value = "密码")
private String password;
/**
 * 角色
 */
@ApiModelProperty( value = "角色")
private String role;
/**
 * 手机号
 */
@ApiModelProperty( value = "手机号")
private String telephone;

}